$width-all:1280px;
$bgc:#f6f6f6;

@mixin white-line($left:102px, $top:28px) {
  content: '';
  display: block;
  position: absolute;
  border: 1px solid white;
  height: 0px;
  width: 106px;
  left: $left;
  top: $top;
}

@mixin tri {
  margin-left: 136px;
}

.content {
  width: $width-all;
  background-color: $bgc;
  margin: 0 auto;

  >.img {
    width: 1280px;
    position: relative;

    img {
      width: 100%;
    }

    .img-point {
      height: 10px;
      position: absolute;
      top: 517px;
      left: 586px;

      img {
        margin-right: 20px;
        height: 100%;
        width: 10px;
      }
    }
  }


  >.middle {
    margin: 66px auto 0;
    display: flex;
    flex-direction: row;
    width: 973px;
    height: 473px;
    font-size: 16px;

    >.middle1 {
      margin-right: 2%;
      height: 100%;
      width: 32%;
      background-color: #fff;

      >.middle1-top {
        display: flex;
        flex-direction: column;
        height: 168px;
        color: white;
        background-color: #2395cb;

        >.pic {
          margin: 15px auto 0;
          width: 53px;
        }

        >p {
          margin-top: 16px;
          text-align: center;
          position: relative;

          &:last-child::after {
            @include white-line();
          }
        }

      }

      >.middle1-among {
        height: 157px;
        font-size: 16px;

        >p {
          margin: {
            top: 7px;
            left: 18px;
            bottom: 17px;
          }

          font-weight: bold;
        }

        >img {
          margin: {
            left: 16px;
            right: 26px;
          }
        }

        .tri {
          @include tri;
        }

        >div {
          display: inline-block;
          vertical-align: bottom;
          font-size: 14px;

          >p {
            line-height: 24px;
          }

          >p:last-child {
            margin-bottom: 6px;
          }
        }



      }

      >.middle1-last {
        margin: 28px auto;
        height: 98px;
        width: 284px;
        border-top: 1px dashed #d2d2d2;
        font-size: 14px;

        >p {
          line-height: 24px;

          >img {
            vertical-align: middle;
          }
        }

        >p:first-child {
          margin-top: 25px;
        }


      }
    }

    >.middle2 {
      @extend .middle1;

      >.middle2-top {
        @extend .middle1-top;
        background-color: #3ed1a4;
      }

      >.middle2-next {
        font-size: 0;

        >img {
          @include tri;
          margin-bottom: 38px;
        }

        >.middle {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
        }


      }

      >p {
        margin-top: 34px;
        text-align: center;
        font-size: 18px;
        color: #53a5d2;
      }

      >p:last-child {
        margin-top: 13px;
        font-size: 12px;
        color: #000;
      }

    }

    >.middle3 {
      @extend .middle1;
      margin-right: 0;
      background-color: white;

      >.middle3-top {
        @extend .middle1-top;
        background-color: #895ea3;
      }

      >.middle3-next {
        >.img1 {
          @include tri;
        }

        >.img2 {
          width: 289px;
          margin: 24px auto 40px;
        }
      }

      >.middle3-last {
        margin: 0 auto;
        height: 76px;
        width: 308px;
        background-image: url(../assets/images/S-bg_a.png);
        font-size: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;

        p {
          line-height: 22px;
          padding-left: 50px;
        }
      }
    }




  }

  >.about {
    width: 93px;
    margin: 61px auto 52px;
    text-align: center;
    position: relative;

    &::before {
      @include white-line(-88px, 35px);
      width: 75px;
      border-color: #c9c9c9;
    }

    &::after {
      @include white-line(102px, 35px);
      width: 75px;
      border-color: #c9c9c9;
    }

    >p {
      font-size: 18px;
      line-height: 24px;
      font-weight: bold;
    }

    >p:last-child {
      font-size: 12px;
      color: #b3b3b3;
      font-weight: 400;
    }
  }

  >.middle1 {
    width: $width-all;
    height: 343px;
    background-image: url(../assets/images/S-bg_b.png);
    font-size: 14px;
    line-height: 25px;
    color: #272727;

    >.text {
      padding-top: 48px;
      width: $width-all;
      height: 151px;
      box-sizing: border-box;

      >p {
        text-align: center;
      }
    }

    >.pic {
      margin: 0 auto;
      height: 167px;
      width: 1048px;
      background-color: #fff;
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      @mixin img {
        height: 100%;
        width: 100%x;
      }

      >.pic1 {
        height: 159px;
        width: 51px;
        border: 1px solid #e8e8e8;
        overflow: hidden;
        @include img;
      }

      >.pic2 {
        @extend .pic1;
        width: 282px;
      }

      >.pic5 {
        @extend .pic1;
        width: 72px;
      }

    }
  }

  >.content {
    width: $width-all;
    height: 536px;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    >.content-left {
      margin-right: 39px;
      height: 430px;
      width: 426px;

      >.top {
        height: 228px;
        width: 430px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: center;

        >.top-left {
          height: 188px;
          width: 141px;
          border: 1px solid #ebebeb;
          padding-top: 6px;
          box-sizing: border-box;

          >.pic {
            margin: 0 auto 8px;
            height: 125px;
            width: 126px;
          }

          >p {
            font-size: 12px;
            line-height: 21px;
          }
        }

        >.top-right {
          height: 188px;
          width: 272px;
          font-size: 14px;
          color: #989898;

          >.hang1 {
            height: 31px;
            display: flex;
            flex-direction: row;

            >.icon {
              margin: {
                left: 6px;
                right: 16px;
              }

              padding: {
                top: 10px;
              }

              box-sizing: border-box;
              height: 100%;
              width: 22px;
              text-align: center;
            }

            >p {
              margin: {
                top: 10px;
                bottom: 9px;
              }

            }
          }

        }
      }

      >.last {
        height: 195px;
        width: 426px;
        border: 2px solid #e8e7e7;
      }
    }

    >.content-right {
      height: 424px;
      width: 604px;

      >p {
        line-height: 26px;
        font-size: 14px;
        color: #666666;
      }

      >input {
        margin-bottom: 13px;
        width: 602px;
        height: 32px;
        border: 1px dashed #d4d2d2;
      }

      >input:last-of-type {
        height: 118px;
        margin-bottom: 20px;
      }

      >button{
        height: 30px;
        width: 94px;
        background-color: #3c9cd3;
        font-size: 12px;
        color: white;
        border: none;
      }
    }
  }
}